projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c76804b
)
revealer: Don't add a clip node for CROSSFADE transitions
author
Timm Bäder
<mail@baedert.org>
Fri, 5 May 2017 16:41:30 +0000
(18:41 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:12 +0000
(21:27 -0400)
We don't need them there as we just change the opacity of the revealer.
gtk/gtkrevealer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrevealer.c
b/gtk/gtkrevealer.c
index 96f8952839a2ded6e6372184178a6f8ef5c384ee..fbda87be39adc2c06e12494f3a4628bb24421092 100644
(file)
--- a/
gtk/gtkrevealer.c
+++ b/
gtk/gtkrevealer.c
@@
-785,7
+785,8
@@
gtk_revealer_snapshot (GtkWidget *widget,
return;
transition = effective_transition (revealer);
- if (transition == GTK_REVEALER_TRANSITION_TYPE_NONE)
+ if (transition == GTK_REVEALER_TRANSITION_TYPE_NONE ||
+ transition == GTK_REVEALER_TRANSITION_TYPE_CROSSFADE)
{
gtk_widget_snapshot_child (widget, child, snapshot);
}